<?php
include( 'init.php' );
if (! isset ( $_SESSION ['last_key'] ))
	header ( "Location: index.php" );
$c = new WeiboClient ( WB_AKEY, WB_SKEY, $_SESSION ['last_key'] ['oauth_token'], $_SESSION ['last_key'] ['oauth_token_secret'] );
$id = intval($_REQUEST['id']);
$Result = $c->t_delete($id); // done
include './templates/delete.php';